package com.ruoyi.cms.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 账号分类配置对象 biz_category_account
 *
 * @author lorry
 * @date 2020-11-30
 */
public class CategoryAccount extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    private Long id;

    /**
     * 分类ID
     */
    @Excel(name = "分类ID")
    private Long cateId;

    /**
     * 分类名称
     */
    @Excel(name = "分类名称")
    private String cateName;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private Integer dataState;

    /**
     * 平台
     */
    @Excel(name = "平台")
    private Integer platform;

    /**
     * 公众号
     */
    @Excel(name = "公众号")
    private String name;

    /**
     * 微信号
     */
    @Excel(name = "微信号")
    private String wxAlias;

    /**
     * wx biz
     */
    @Excel(name = "wx biz")
    private String wxBiz;

    /**
     * wx origin id
     */
    @Excel(name = "wx origin id")
    private String wxOriginId;

    /**
     * 头像
     */
    @Excel(name = "头像")
    private String avatar;

    /**
     * 二维码
     */
    @Excel(name = "二维码")
    private String qrcode;

    /**
     * 预估粉丝数
     */
    @Excel(name = "预估粉丝数")
    private String fansNumEstimate;

    /**
     * 描述
     */
    @Excel(name = "描述")
    private String description;

    /**
     * 总排名
     */
    @Excel(name = "总排名")
    private Long rank;

    /**
     * 分类排名
     */
    @Excel(name = "分类排名")
    private Long cateRank;

    /**
     * 发布次数
     */
    @Excel(name = "发布次数")
    private Long pushTotal;

    /**
     * 篇数
     */
    @Excel(name = "篇数")
    private Long articlesTotal;

    /**
     * 总阅读数
     */
    @Excel(name = "总阅读数")
    private Long readNumTotal;

    /**
     * 平均阅读数
     */
    @Excel(name = "平均阅读数")
    private String avgReadNum;

    /**
     * 头条（第1条）阅读数
     */
    @Excel(name = "头条", readConverterExp = "第=1条")
    private String topReadNumAvg;

    /**
     * 头条（第1条）平均在看数
     */
    @Excel(name = "头条", readConverterExp = "第=1条")
    private Long topLikeNumAvg;

    /**
     * 单篇最大阅读数
     */
    @Excel(name = "单篇最大阅读数")
    private String readNumMax;

    /**
     * 平均在看数
     */
    @Excel(name = "平均在看数")
    private Long avgLikeNum;

    /**
     * 评分数
     */
    @Excel(name = "评分数")
    private Long indexScores;

    /**
     * 统计时间
     */
    @Excel(name = "统计时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date statTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCateId() {
        return cateId;
    }

    public void setCateId(Long cateId) {
        this.cateId = cateId;
    }

    public String getCateName() {
        return cateName;
    }

    public void setCateName(String cateName) {
        this.cateName = cateName;
    }

    public Integer getDataState() {
        return dataState;
    }

    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }

    public Integer getPlatform() {
        return platform;
    }

    public void setPlatform(Integer platform) {
        this.platform = platform;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getWxAlias() {
        return wxAlias;
    }

    public void setWxAlias(String wxAlias) {
        this.wxAlias = wxAlias;
    }

    public String getWxBiz() {
        return wxBiz;
    }

    public void setWxBiz(String wxBiz) {
        this.wxBiz = wxBiz;
    }

    public String getWxOriginId() {
        return wxOriginId;
    }

    public void setWxOriginId(String wxOriginId) {
        this.wxOriginId = wxOriginId;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getQrcode() {
        return qrcode;
    }

    public void setQrcode(String qrcode) {
        this.qrcode = qrcode;
    }

    public String getFansNumEstimate() {
        return fansNumEstimate;
    }

    public void setFansNumEstimate(String fansNumEstimate) {
        this.fansNumEstimate = fansNumEstimate;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Long getRank() {
        return rank;
    }

    public void setRank(Long rank) {
        this.rank = rank;
    }

    public Long getCateRank() {
        return cateRank;
    }

    public void setCateRank(Long cateRank) {
        this.cateRank = cateRank;
    }

    public Long getPushTotal() {
        return pushTotal;
    }

    public void setPushTotal(Long pushTotal) {
        this.pushTotal = pushTotal;
    }

    public Long getArticlesTotal() {
        return articlesTotal;
    }

    public void setArticlesTotal(Long articlesTotal) {
        this.articlesTotal = articlesTotal;
    }

    public Long getReadNumTotal() {
        return readNumTotal;
    }

    public void setReadNumTotal(Long readNumTotal) {
        this.readNumTotal = readNumTotal;
    }

    public String getAvgReadNum() {
        return avgReadNum;
    }

    public void setAvgReadNum(String avgReadNum) {
        this.avgReadNum = avgReadNum;
    }

    public String getTopReadNumAvg() {
        return topReadNumAvg;
    }

    public void setTopReadNumAvg(String topReadNumAvg) {
        this.topReadNumAvg = topReadNumAvg;
    }

    public Long getTopLikeNumAvg() {
        return topLikeNumAvg;
    }

    public void setTopLikeNumAvg(Long topLikeNumAvg) {
        this.topLikeNumAvg = topLikeNumAvg;
    }

    public String getReadNumMax() {
        return readNumMax;
    }

    public void setReadNumMax(String readNumMax) {
        this.readNumMax = readNumMax;
    }

    public Long getAvgLikeNum() {
        return avgLikeNum;
    }

    public void setAvgLikeNum(Long avgLikeNum) {
        this.avgLikeNum = avgLikeNum;
    }

    public Long getIndexScores() {
        return indexScores;
    }

    public void setIndexScores(Long indexScores) {
        this.indexScores = indexScores;
    }

    public Date getStatTime() {
        return statTime;
    }

    public void setStatTime(Date statTime) {
        this.statTime = statTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("cateId", getCateId())
                .append("cateName", getCateName())
                .append("dataState", getDataState())
                .append("platform", getPlatform())
                .append("name", getName())
                .append("wxAlias", getWxAlias())
                .append("wxBiz", getWxBiz())
                .append("wxOriginId", getWxOriginId())
                .append("avatar", getAvatar())
                .append("qrcode", getQrcode())
                .append("fansNumEstimate", getFansNumEstimate())
                .append("description", getDescription())
                .append("rank", getRank())
                .append("cateRank", getCateRank())
                .append("pushTotal", getPushTotal())
                .append("articlesTotal", getArticlesTotal())
                .append("readNumTotal", getReadNumTotal())
                .append("avgReadNum", getAvgReadNum())
                .append("topReadNumAvg", getTopReadNumAvg())
                .append("topLikeNumAvg", getTopLikeNumAvg())
                .append("readNumMax", getReadNumMax())
                .append("avgLikeNum", getAvgLikeNum())
                .append("indexScores", getIndexScores())
                .append("statTime", getStatTime())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
